extends Area2D

@export var sceneTransitionConfigId:String = "1"


func _on_body_entered(body):
	if not body.is_in_group(Consts.GROUP_PLAYER):
		return 
	
	Global.transiteScene(sceneTransitionConfigId)

